<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>src/filemanager/layout.h</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<!-- beginning of fixed guide -->
<div id='guide'><ul>
<li><a href='#TOP'><img class='icon' src='../icons/first.png' alt='[^]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/last.png' alt='[v]' /></a></li>
<li><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a></li>
<li><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a></li>
<li><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a></li>
<li class='standout'><span><a href='../files/src.html'>src</a>/<a href='../files/src--filemanager.html'>filemanager</a>/layout.h</span></li>
</ul></div>
<!-- end of fixed guide -->
<a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/src.html'>src</a>/<a href='../files/src--filemanager.html'>filemanager</a>/layout.h</h2>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><img class='icon' src='../icons/n_top.png' alt='[top]' /><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+1 src/filemanager/layout.h'  /> */</em>
<hr />
<h2 class='header'><a href='../J/layout.h.html' title='Multiple included from 19 places.'>INCLUDED FROM</a></h2>
<hr />
<pre>
<a id='L1' name='L1'></a>   1 <em class='comment'>/** \file layout.h</em>
<a id='L2' name='L2'></a>   2 <em class='comment'> *  \brief Header: panel layout module</em>
<a id='L3' name='L3'></a>   3 <em class='comment'> */</em>
<a id='L4' name='L4'></a>   4 
<a id='L5' name='L5'></a>   5 <em class='sharp'>#ifndef</em> <a href='../S/src--filemanager--layout.h.html#L6' title='Defined at 6 in src/filemanager/layout.h.'>MC__LAYOUT_H</a>
<a id='L6' name='L6'></a>   6 <em class='sharp'>#define</em> <a href='../S/src--filemanager--layout.h.html#L5' title='Referred from 5 in src/filemanager/layout.h.'>MC__LAYOUT_H</a>
<a id='L7' name='L7'></a>   7 
<a id='L8' name='L8'></a>   8 <em class='sharp'>#include</em> "<a href='lib--global.h.html'>lib/global.h</a>"
<a id='L9' name='L9'></a>   9 <em class='sharp'>#include</em> "<a href='lib--widget.h.html'>lib/widget.h</a>"
<a id='L10' name='L10'></a>  10 
<a id='L11' name='L11'></a>  11 <em class='sharp'>#include</em> "<a href='src--filemanager--panel.h.html'>panel.h</a>"
<a id='L12' name='L12'></a>  12 
<a id='L13' name='L13'></a>  13 <em class='comment'>/*** typedefs(not structures) and defined constants **********************************************/</em>
<a id='L14' name='L14'></a>  14 
<a id='L15' name='L15'></a>  15 <strong class='reserved'>typedef</strong> <strong class='reserved'>enum</strong>
<a id='L16' name='L16'></a>  16 <em class='brace'>{</em>
<a id='L17' name='L17'></a>  17     <a href='../R/view_listing.html' title='Multiple referred from 70 places.'>view_listing</a> = 0,           <em class='comment'>/* Directory listing */</em>
<a id='L18' name='L18'></a>  18     <a href='../R/view_info.html' title='Multiple referred from 6 places.'>view_info</a> = 1,              <em class='comment'>/* Information panel */</em>
<a id='L19' name='L19'></a>  19     <a href='../R/view_tree.html' title='Multiple referred from 11 places.'>view_tree</a> = 2,              <em class='comment'>/* Tree view */</em>
<a id='L20' name='L20'></a>  20     <a href='../R/view_quick.html' title='Multiple referred from 7 places.'>view_quick</a> = 3,             <em class='comment'>/* Quick view */</em>
<a id='L21' name='L21'></a>  21     <a href='../S/src--filemanager--layout.c.html#L1153' title='Referred from 1153 in src/filemanager/layout.c.'>view_nothing</a> = 4,           <em class='comment'>/* Undefined */</em>
<a id='L22' name='L22'></a>  22 <em class='brace'>}</em> <a href='../R/panel_view_mode_t.html' title='Multiple referred from 26 places.'>panel_view_mode_t</a>;
<a id='L23' name='L23'></a>  23 
<a id='L24' name='L24'></a>  24 <em class='comment'>/*** enums ***************************************************************************************/</em>
<a id='L25' name='L25'></a>  25 
<a id='L26' name='L26'></a>  26 <em class='comment'>/*** structures declarations (and typedefs of structures)*****************************************/</em>
<a id='L27' name='L27'></a>  27 
<a id='L28' name='L28'></a>  28 <strong class='reserved'>typedef</strong> <strong class='reserved'>struct</strong>
<a id='L29' name='L29'></a>  29 <em class='brace'>{</em>
<a id='L30' name='L30'></a>  30     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/horizontal_split.html' title='Multiple used in 26 places.'>horizontal_split</a>;
<a id='L31' name='L31'></a>  31 
<a id='L32' name='L32'></a>  32     <em class='comment'>/* vertical split */</em>
<a id='L33' name='L33'></a>  33     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/vertical_equal.html' title='Multiple used in 12 places.'>vertical_equal</a>;
<a id='L34' name='L34'></a>  34     <strong class='reserved'>int</strong> <a href='../Y/left_panel_size.html' title='Multiple used in 20 places.'>left_panel_size</a>;
<a id='L35' name='L35'></a>  35 
<a id='L36' name='L36'></a>  36     <em class='comment'>/* horizontal split */</em>
<a id='L37' name='L37'></a>  37     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/horizontal_equal.html' title='Multiple used in 12 places.'>horizontal_equal</a>;
<a id='L38' name='L38'></a>  38     <strong class='reserved'>int</strong> <a href='../Y/top_panel_size.html' title='Multiple used in 18 places.'>top_panel_size</a>;
<a id='L39' name='L39'></a>  39 <em class='brace'>}</em> <a href='../R/panels_layout_t.html' title='Multiple referred from 4 places.'>panels_layout_t</a>;
<a id='L40' name='L40'></a>  40 
<a id='L41' name='L41'></a>  41 <em class='comment'>/*** global variables defined in .c file *********************************************************/</em>
<a id='L42' name='L42'></a>  42 
<a id='L43' name='L43'></a>  43 <strong class='reserved'>extern</strong> <strong class='reserved'>int</strong> <a href='../Y/output_lines.html' title='Multiple used in 25 places.'>output_lines</a>;
<a id='L44' name='L44'></a>  44 <strong class='reserved'>extern</strong> <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/command_prompt.html' title='Multiple used in 21 places.'>command_prompt</a>;
<a id='L45' name='L45'></a>  45 <strong class='reserved'>extern</strong> <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/menubar_visible.html' title='Multiple used in 14 places.'>menubar_visible</a>;
<a id='L46' name='L46'></a>  46 <strong class='reserved'>extern</strong> <strong class='reserved'>int</strong> <a href='../Y/output_start_y.html' title='Multiple used in 6 places.'>output_start_y</a>;
<a id='L47' name='L47'></a>  47 <strong class='reserved'>extern</strong> <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/xterm_title.html' title='Multiple used in 9 places.'>xterm_title</a>;
<a id='L48' name='L48'></a>  48 <strong class='reserved'>extern</strong> <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/free_space.html' title='Multiple used in 9 places.'>free_space</a>;
<a id='L49' name='L49'></a>  49 <strong class='reserved'>extern</strong> <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/nice_rotating_dash.html' title='Multiple used in 6 places.'>nice_rotating_dash</a>;
<a id='L50' name='L50'></a>  50 
<a id='L51' name='L51'></a>  51 <strong class='reserved'>extern</strong> <strong class='reserved'>int</strong> <a href='../Y/ok_to_refresh.html' title='Multiple used in 7 places.'>ok_to_refresh</a>;
<a id='L52' name='L52'></a>  52 
<a id='L53' name='L53'></a>  53 <strong class='reserved'>extern</strong> <a href='../S/src--filemanager--layout.h.html#L39' title='Defined at 39 in src/filemanager/layout.h.'>panels_layout_t</a> <a href='../Y/panels_layout.html' title='Multiple used in 70 places.'>panels_layout</a>;
<a id='L54' name='L54'></a>  54 
<a id='L55' name='L55'></a>  55 <em class='comment'>/*** declarations of public functions ************************************************************/</em>
<a id='L56' name='L56'></a>  56 <strong class='reserved'>void</strong> <a href='../S/src--filemanager--layout.c.html#L709' title='Defined at 709 in src/filemanager/layout.c.'>layout_change</a> (<strong class='reserved'>void</strong>);
<a id='L57' name='L57'></a>  57 <strong class='reserved'>void</strong> <a href='../S/src--filemanager--layout.c.html#L722' title='Defined at 722 in src/filemanager/layout.c.'>layout_box</a> (<strong class='reserved'>void</strong>);
<a id='L58' name='L58'></a>  58 <strong class='reserved'>void</strong> <a href='../S/src--filemanager--layout.c.html#L751' title='Defined at 751 in src/filemanager/layout.c.'>panel_update_cols</a> (<a href='../D/Widget.html' title='Multiple defined in 2 places.'>Widget</a> * <a href='../Y/widget.html' title='Multiple used in 197 places.'>widget</a>, <a href='../S/src--filemanager--panel.h.html#L43' title='Defined at 43 in src/filemanager/panel.h.'>panel_display_t</a> <a href='../Y/frame_size.html' title='Multiple used in 9 places.'>frame_size</a>);
<a id='L59' name='L59'></a>  59 <strong class='reserved'>void</strong> <a href='../S/src--filemanager--layout.c.html#L791' title='Defined at 791 in src/filemanager/layout.c.'>setup_panels</a> (<strong class='reserved'>void</strong>);
<a id='L60' name='L60'></a>  60 <strong class='reserved'>void</strong> <a href='../S/src--filemanager--layout.c.html#L908' title='Defined at 908 in src/filemanager/layout.c.'>panels_split_equal</a> (<strong class='reserved'>void</strong>);
<a id='L61' name='L61'></a>  61 <strong class='reserved'>void</strong> <a href='../S/src--filemanager--layout.c.html#L922' title='Defined at 922 in src/filemanager/layout.c.'>panels_split_more</a> (<strong class='reserved'>void</strong>);
<a id='L62' name='L62'></a>  62 <strong class='reserved'>void</strong> <a href='../S/src--filemanager--layout.c.html#L941' title='Defined at 941 in src/filemanager/layout.c.'>panels_split_less</a> (<strong class='reserved'>void</strong>);
<a id='L63' name='L63'></a>  63 <strong class='reserved'>void</strong> destroy_panels (<strong class='reserved'>void</strong>);
<a id='L64' name='L64'></a>  64 <strong class='reserved'>void</strong> <a href='../S/src--filemanager--layout.c.html#L961' title='Defined at 961 in src/filemanager/layout.c.'>setup_cmdline</a> (<strong class='reserved'>void</strong>);
<a id='L65' name='L65'></a>  65 <strong class='reserved'>void</strong> <a href='../S/src--filemanager--layout.c.html#L1092' title='Defined at 1092 in src/filemanager/layout.c.'>create_panel</a> (<strong class='reserved'>int</strong> <a href='../Y/num.html' title='Multiple used in 71 places.'>num</a>, <a href='../S/src--filemanager--layout.h.html#L22' title='Defined at 22 in src/filemanager/layout.h.'>panel_view_mode_t</a> <a href='../Y/type.html' title='Multiple used in 300 places.'>type</a>);
<a id='L66' name='L66'></a>  66 <strong class='reserved'>void</strong> <a href='../S/src--filemanager--layout.c.html#L1252' title='Defined at 1252 in src/filemanager/layout.c.'>swap_panels</a> (<strong class='reserved'>void</strong>);
<a id='L67' name='L67'></a>  67 <a href='../S/src--filemanager--layout.h.html#L22' title='Defined at 22 in src/filemanager/layout.h.'>panel_view_mode_t</a> <a href='../S/src--filemanager--layout.c.html#L1360' title='Defined at 1360 in src/filemanager/layout.c.'>get_panel_type</a> (<strong class='reserved'>int</strong> <a href='../Y/idx.html' title='Multiple used in 120 places.'>idx</a>);
<a id='L68' name='L68'></a>  68 <a href='../S/src--filemanager--layout.h.html#L22' title='Defined at 22 in src/filemanager/layout.h.'>panel_view_mode_t</a> <a href='../D/get_current_type.html' title='Multiple defined in 3 places.'>get_current_type</a> (<strong class='reserved'>void</strong>);
<a id='L69' name='L69'></a>  69 <a href='../S/src--filemanager--layout.h.html#L22' title='Defined at 22 in src/filemanager/layout.h.'>panel_view_mode_t</a> <a href='../S/src--filemanager--layout.c.html#L1410' title='Defined at 1410 in src/filemanager/layout.c.'>get_other_type</a> (<strong class='reserved'>void</strong>);
<a id='L70' name='L70'></a>  70 <strong class='reserved'>int</strong> <a href='../S/src--filemanager--layout.c.html#L1376' title='Defined at 1376 in src/filemanager/layout.c.'>get_current_index</a> (<strong class='reserved'>void</strong>);
<a id='L71' name='L71'></a>  71 <strong class='reserved'>int</strong> <a href='../S/src--filemanager--layout.c.html#L1384' title='Defined at 1384 in src/filemanager/layout.c.'>get_other_index</a> (<strong class='reserved'>void</strong>);
<a id='L72' name='L72'></a>  72 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../S/src--filemanager--layout.c.html#L1062' title='Defined at 1062 in src/filemanager/layout.c.'>get_nth_panel_name</a> (<strong class='reserved'>int</strong> <a href='../Y/num.html' title='Multiple used in 71 places.'>num</a>);
<a id='L73' name='L73'></a>  73 
<a id='L74' name='L74'></a>  74 <a href='../D/Widget.html' title='Multiple defined in 2 places.'>Widget</a> *<a href='../S/src--filemanager--layout.c.html#L1368' title='Defined at 1368 in src/filemanager/layout.c.'>get_panel_widget</a> (<strong class='reserved'>int</strong> <a href='../Y/idx.html' title='Multiple used in 120 places.'>idx</a>);
<a id='L75' name='L75'></a>  75 
<a id='L76' name='L76'></a>  76 <a href='../S/src--filemanager--panel.h.html#L152' title='Defined at 152 in src/filemanager/panel.h.'>WPanel</a> *<a href='../S/src--filemanager--layout.c.html#L1392' title='Defined at 1392 in src/filemanager/layout.c.'>get_other_panel</a> (<strong class='reserved'>void</strong>);
<a id='L77' name='L77'></a>  77 
<a id='L78' name='L78'></a>  78 <strong class='reserved'>void</strong> <a href='../S/src--filemanager--layout.c.html#L1419' title='Defined at 1419 in src/filemanager/layout.c.'>save_panel_dir</a> (<strong class='reserved'>int</strong> <a href='../Y/idx.html' title='Multiple used in 120 places.'>idx</a>);
<a id='L79' name='L79'></a>  79 <strong class='reserved'>char</strong> *<a href='../S/src--filemanager--layout.c.html#L1443' title='Defined at 1443 in src/filemanager/layout.c.'>get_panel_dir_for</a> (<strong class='reserved'>const</strong> <a href='../S/src--filemanager--panel.h.html#L152' title='Defined at 152 in src/filemanager/panel.h.'>WPanel</a> * <a href='../Y/widget.html' title='Multiple used in 197 places.'>widget</a>);
<a id='L80' name='L80'></a>  80 
<a id='L81' name='L81'></a>  81 <strong class='reserved'>void</strong> <a href='../S/src--filemanager--layout.c.html#L1018' title='Defined at 1018 in src/filemanager/layout.c.'>set_hintbar</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/str.html' title='Multiple used in 587 places.'>str</a>);
<a id='L82' name='L82'></a>  82 
<a id='L83' name='L83'></a>  83 <em class='comment'>/* Rotating dash routines */</em>
<a id='L84' name='L84'></a>  84 <strong class='reserved'>void</strong> <a href='../S/src--filemanager--layout.c.html#L1007' title='Defined at 1007 in src/filemanager/layout.c.'>use_dash</a> (<a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/flag.html' title='Multiple used in 25 places.'>flag</a>);  <em class='comment'>/* Disable/Enable rotate_dash routines */</em>
<a id='L85' name='L85'></a>  85 <strong class='reserved'>void</strong> <a href='../S/src--filemanager--layout.c.html#L1028' title='Defined at 1028 in src/filemanager/layout.c.'>rotate_dash</a> (<a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/show.html' title='Multiple used in 6 places.'>show</a>);
<a id='L86' name='L86'></a>  86 
<a id='L87' name='L87'></a>  87 <em class='sharp'>#ifdef</em> <a href='../Y/ENABLE_SUBSHELL.html' title='Multiple used in 39 places.'>ENABLE_SUBSHELL</a>
<a id='L88' name='L88'></a>  88 <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../S/src--filemanager--layout.c.html#L1469' title='Defined at 1469 in src/filemanager/layout.c.'>do_load_prompt</a> (<strong class='reserved'>void</strong>);
<a id='L89' name='L89'></a>  89 <strong class='reserved'>int</strong> <a href='../S/src--filemanager--layout.c.html#L1496' title='Defined at 1496 in src/filemanager/layout.c.'>load_prompt</a> (<strong class='reserved'>int</strong> <a href='../Y/fd.html' title='Multiple used in 422 places.'>fd</a>, <strong class='reserved'>void</strong> *<a href='../Y/unused.html' title='Multiple used in 7 places.'>unused</a>);
<a id='L90' name='L90'></a>  90 <em class='sharp'>#endif</em>
<a id='L91' name='L91'></a>  91 
<a id='L92' name='L92'></a>  92 <strong class='reserved'>void</strong> <a href='../S/src--filemanager--layout.c.html#L1539' title='Defined at 1539 in src/filemanager/layout.c.'>update_xterm_title_path</a> (<strong class='reserved'>void</strong>);
<a id='L93' name='L93'></a>  93 
<a id='L94' name='L94'></a>  94 <strong class='reserved'>void</strong> <a href='../S/src--filemanager--layout.c.html#L1513' title='Defined at 1513 in src/filemanager/layout.c.'>title_path_prepare</a> (<strong class='reserved'>char</strong> **<a href='../Y/path.html' title='Multiple used in 494 places.'>path</a>, <strong class='reserved'>char</strong> **<a href='../Y/login.html' title='Multiple used in 22 places.'>login</a>);
<a id='L95' name='L95'></a>  95 
<a id='L96' name='L96'></a>  96 <em class='comment'>/*** inline functions ****************************************************************************/</em>
<a id='L97' name='L97'></a>  97 
<a id='L98' name='L98'></a>  98 <em class='sharp'>#endif</em> <em class='comment'>/* MC__LAYOUT_H */</em>
</pre>
<hr />
<a id='BOTTOM' name='BOTTOM'></a>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><img class='icon' src='../icons/n_bottom.png' alt='[bottom]' /><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+98 src/filemanager/layout.h'  /> */</em>
</body>
</html>
